<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>datevec</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : 31/08/2004</div>
    <p>
      <b>datevec</b> - Date components</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>V=datevec(DT)</tt>
      </dd>
      <dd>
        <tt>[Y,M,D,H,MI,S]=datevec(DT)</tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>V = datevec(DT) converts a serial date number (defined by datenum) to a
    date vector V having elements [year, month, day, hour, minute, second].
    The first five vector elements are integers.</p>
    <p>[Y, M, D, H, MI, S] = datevec(DT) returns the components of the date
    vector as individual variables</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>datevec(720840)

datevec(datenum()) 

 </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="datenum.htm">
        <tt>
          <b>datenum</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="calendar.htm">
        <tt>
          <b>calendar</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
    <h3>
      <font color="blue">Authors</font>
    </h3>
    <dl>
      <dd>
        <b></b>A.C</dd>
    </dl>
  </body>
</html>
